package com.zx.idc.backend.gui.common.base;

import com.zx.idc.ds.common.constant.DataFeatureConstant;
import com.zx.idc.ds.common.entity.BaseEntity;
import com.zx.idc.ds.common.service.BaseService;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

/**
 * @author rxliuli
 */
public abstract class BaseReportDeleteJob<Entity extends BaseEntity, Service extends BaseService<Entity>, ReportService extends BaseReportService<?>> extends BaseReportJob<Entity, Service, ReportService> {
    protected BaseReportDeleteJob(String idName, String jobName) {
        super(DataFeatureConstant.DELETE, idName, jobName);
    }

    protected BaseReportDeleteJob(String jobName) {
        super(DataFeatureConstant.DELETE, jobName);
    }

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        super.exec();
    }
}
